package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.Vehicle;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface VehicleMapper {
    //用时间拿到所有的车
    List<Vehicle> findLeisureCar(@Param("startTime") String  startTime,@Param("endTime") String endTime);

    List<Vehicle> findAllCarByList(List<Vehicle> cars);

    List<Vehicle> findAllCar();

    int deleteByPrimaryKey(Integer id);

    int insert(Vehicle record);

    int insertSelective(Vehicle record);

    Vehicle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Vehicle record);

    int updateByPrimaryKey(Vehicle record);
}